<?php

// +----------------------------------------------------------------------

// | ThinkPHP [ WE CAN DO IT JUST THINK ]

// +----------------------------------------------------------------------

// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.

// +----------------------------------------------------------------------

// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )

// +----------------------------------------------------------------------

// | Author: liu21st <liu21st@gmail.com>

// +----------------------------------------------------------------------



// return [

// //    '__pattern__' => [

// //        'name' => '\w+',

// //    ],

// //    '[hello]'     => [

// //        ':id'   => ['index/hello', ['method' => 'get'], ['id' => '\d+']],

// //        ':name' => ['index/hello', ['method' => 'post']],

// //    ],

//    'l' => 'index/article/index',

//    'a' => 'index/index/index',

// ];

use think\Route;

Route::rule('single/singlepage/:id','index/single/singlepage','GET'); //单页模板



Route::rule('article','index/article/index');   // 1.文章

Route::rule('example','index/example/index');   // 1.案例

Route::rule('example_cate/:id','index/example/example_cate','GET'); //通过分类获取案例

Route::rule('example_industry/:id','index/example/example_industry','GET'); //通过行业获取案例

Route::rule('e/:id','index/example/detail','GET');   // 案例详情

Route::rule('index','index/index/index');   // 1.主页

Route::rule('user/register','index/user/register');   // 1.注册

Route::rule('user/login','index/user/login');   // 1.登录

Route::rule('user/loging','index/user/loging');   // 1.登录



Route::rule('a/:id','index/article/detail','GET');   // 1.文章详情



Route::rule('my/index','index/my/index');   // 1.个人中心

Route::rule('user/logout','index/user/logout');   // 1.退出



Route::rule('user/send_sms','index/user/send_sms');   // 1.发送短信

Route::rule('user/remove_code','index/user/remove_code');   // 1.清除缓存短信

Route::rule('user/registration','index/user/registration');   // 1.注册.html

Route::rule('my/forgetpwd','index/my/forgetpwd');   // 忘记密码

Route::rule('my/send_sms','index/my/send_sms');   // 忘记密码发送验证吗

Route::rule('my/upnewpassword','index/my/upnewpassword');   // 忘记密码提交

Route::rule('my/remove_code','index/my/remove_code');   // 忘记密码清除缓存



Route::rule('my/information','index/my/information');   // 个人资料

Route::rule('my/user_upimg','index/my/user_upimg');   // 头像

Route::rule('my/upload','index/my/upload');   // 头像

Route::rule('my/updateinfo','index/my/updateinfo');   // 修改资料





Route::rule('my/changepwd','index/my/changepwd');   // 修改密码

Route::rule('my/updatepwd','index/my/updatepwd');   // 修改密码



Route::rule('user/agreement','index/user/agreement'); //用户协议

Route::rule('index/nohtml','index/index/nohtml'); //用户协议

Route::rule('my/order','index/my/order');  //订单管理

Route::rule('my/empower','index/my/empower');  //授权管理

Route::rule('my/toOrder','index/my/toOrder');  //下订单















